home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group98b.txt / 000097_icon-group-sender _Mon Jun 22 08:02:49 1998.msg < prev    next >
Internet Message Format  |  2000-09-20  |  2KB

  1. Return-Path: <icon-group-sender>
  2. Received: from kingfisher.CS.Arizona.EDU (kingfisher.CS.Arizona.EDU [192.12.69.239])
  3.     by baskerville.CS.Arizona.EDU (8.8.8/8.8.7) with SMTP id IAA28044
  4.     for <icon-group-addresses@baskerville.CS.Arizona.EDU>; Mon, 22 Jun 1998 08:02:49 -0700 (MST)
  5. Received: by kingfisher.CS.Arizona.EDU (5.65v4.0/1.1.8.2/08Nov94-0446PM)
  6.     id AA25812; Mon, 22 Jun 1998 08:02:38 -0700
  7. To: icon-group@optima.CS.Arizona.EDU
  8. Date: 19 Jun 1998 14:28:57 -0500
  9. From: moss@tim.risc.sps.mot.com (Matthew Moss)
  10. Message-Id: <6mee5pINNhc0@tim.risc.sps.mot.com>
  11. Organization: Motorola, Inc. -- Austin,TX
  12. Sender: icon-group-request@optima.CS.Arizona.EDU
  13. Subject: Wanted: small meta-data language
  14. Errors-To: icon-group-errors@optima.CS.Arizona.EDU
  15. Status: RO
  16. Content-Length: 1638
  17.  
  18.  
  19. I'm hoping someone can help identify an existing language that fills
  20. my needs.  I've posted to the .awk and .icon groups as well, since my
  21. needs are similar (and maybe a match) to those languages, but I am 
  22. unsure of how well they would work on binary data chunks.
  23.  
  24. Anyway, I'm looking for an existing "meta-data" language.  My purpose
  25. is to port such a beast to the PalmOS.  Such a language would most 
  26. likely be interpreted, not compiled, would provide some methods for
  27. pattern matching in both text and binary, and would operate primarily
  28. on binary data (with text objects within the binary stream).
  29.  
  30. The idea is to easily allow 3rd-party applications a simple and common
  31. method to accessing other databases.  (IE, I might create a scheduling
  32. app that reads through the built-in datebook database to see if there
  33. are any conflicts).  Such a language would define the structure of the
  34. database and allow in-place modification and reading of data.  
  35.  
  36. For example, assuming that the address book data structure was defined,
  37. I could write C-code somewhat like this:
  38.  
  39.     if (!strcmp ("Acme Company",  GET_STRING(ref, "company")))
  40.     /* do action */
  41.  
  42. where GET_STRING is an entry point into the gawk/icon/sed/other meta-data
  43. language, ref is a pointer to the data record, and "company" is the field
  44. name within the meta-data language definition for the address book 
  45. database.
  46.  
  47. The whole idea is to provide one library with multiple meta-data
  48. definitions for each library.  I don't know if such a thing/language exists,
  49. so I'm hoping someone out there can tell me "yes" or "no" before I write
  50. the whole thing myself.
  51.  
  52. Thanks in advance....
  53.